package com.stockz.ui.swing.charting.display.screen;

import org.springframework.stereotype.Component;

import com.stockz.scanner.screen.SimpleConsolidationScreen;

@Component
public class SimpleConsolidationScreenDisplay extends
		AbstractDisplayableScreenConfiguration {

	private SimpleConsolidationScreen screen = 
			new SimpleConsolidationScreen();
	
	@Override
	public String getFullName() {
		return "Simple Consolidation";
	}

	@Override
	public String getShortName() {
		return "Simple Consolidation";
	}

	@Override
	public String getDescription() {
		return getShortName()+", "
				+screen.getConfiguration().getRangePercentage()+"%, "
				+screen.getConfiguration().getSpan();
	}

	@SuppressWarnings("unchecked")
	@Override
	public  SimpleConsolidationScreen getScreen() {
		return screen;
	}

}
